import React, { Component } from 'react';
import {
    StackNavigator,
} from 'react-navigation';
import ItemDetail from './ItemDetail';
import MyTabNavigator from "./MyTabNavigator";
import FirstPage from "../testComponent/FirstPage";
//引入要用到的跳转页面
  const  MainNewComponent = StackNavigator({
    Main:{screen:MyTabNavigator},
      ItemDetail:{screen:ItemDetail},//跳转必须要有这一项，否则点击跳转无反应
      // ItemDetail1:{screen:FirstPage},//跳转必须要有这一项，否则点击跳转无反应
},{
    navigationOptions:{
        header: null,//隐藏系统自带的title
    }
  });

export default MainNewComponent;